import request from "../../request/request";

// 查询所有销售订单啊
export function salesOrderList(data){
    return request({
        url:'/sales/salesOrderList',
        method:'post',
        data
    })
}

// 查询销售出库表单
export function salesXSCK(data){
    return request({
        url:'/sales/salesXSCK',
        method:'post',
        data
    })
}
// 添加销售订单
export function addSalesXSDD(data){
    return request({
        url:'/sales/addSalesXSDD',
        method:'post',
        data
    })
}
// 供应商查询
export function supplierGYSList(){
    return request({
        url:'/supplierGYSList',
        method:'post',
    })
}
// 客户查询
export function supplierKHList(){
    return request({
        url:'/sales/supplierKHList',
        method:'post',
    })
}
// 查询所有商品
export function materialList(){
    return request({
        url:'/materialList',
        method:'post',
    })
}
// 批量删除和单删除
export function deleteOrder(ids){
    return request({
        url:'/deleteOrder',
        method:'post',
        data:ids
    })
}